import { instance } from '../request'

const request = instance

/**
 * 分页条件查询日志
 * @param page 分页页码
 * @param size  分页大小
 * @param queryCondition 查询条件
 * @returns
 */
export const getPageAiServiceRecordListApi = (
  page: number,
  size: number,
  queryCondition: AiServiceRecord.QueryAiServiceRecordConditionItf
): PromiseRes<AiServiceRecord.QueryAiServiceRecordListItf> =>
  request.post(
    `/aiServiceRecord/getPageAiServiceRecordList?page=${page}&size=${size}`,
    queryCondition
  )
